<?php

class Puntos extends MY_Model {
 
    function Puntos()
    {
        // Call the Model constructor
        parent::MY_Model();

	$this->nombreTabla = "Puntos";
	$this->idT1= "idResto";
	$this->nombreCampo="campoA";




		$this->campos[] = array("realname" => "idResto",
					"clase" => "opciones",
					"label" => "Restaurant",
					"modelo" => "Restaurant",
					"rules" => "required|integer");
		
		$this->campos[] = array("realname" => "campoA",
					"clase" => "text",
					"label" => "Campo",
					"rules" => "required|min_length[3]|max_length[45]|alpha_numeric_space");
			
		$this->campos[] = array("realname" => "Puntos",
					"clase" => "text",
					"label" => "Puntos",
					"rules" => "integer");
		

    }
     
}


?>
